package BusinessLogic;

import Data.SaleTacticsData;

public class MakeSaleTacticsController implements IMakeSaleTacticsController{
    private MakeSaleTacticsModel msm;
	
	public MakeSaleTacticsModel getILoginModel(){
		return msm;
	}
    
	public void setMakeSaleTacticsModel(MakeSaleTacticsModel mSm){
		msm=mSm;
	}
	
	public MakeSaleTacticsController(){
		msm=new MakeSaleTacticsModel();
	}
	
	@Override
	public boolean addSaleTacticsControl(int id, double sp, String speS,
			String speE) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public SaleTacticsData getSaleTacticsInformationControl(int ID) {
		return msm.getSaleTacticsInformation(ID);
	}

	@Override
	public String getSaleTacticsSpecialEndByIDControl(int id) {
		return msm.getSaleTacticsSpecialEndByID(id);
	}

	@Override
	public double getSaleTacticsSpecialPriceByIDControl(int id) {
		return msm.getSaleTacticsSpecialPriceByID(id);
	}

	@Override
	public String getSaleTacticsSpecialStaretByIDControl(int id) {
		return msm.getSaleTacticsSpecialStaretByID(id);
	}

	@Override
	public boolean removeSaleTacticsControl(int id) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public String searchSaleTacticsInfomationByIDControl(int ID) {
		return msm.searchSaleTacticsInfomationByID(ID);
	}

	@Override
	public boolean startUpdateControl() {
		// TODO Auto-generated method stub
		return false;
	}

}
